﻿package {
	import flash.display.Loader;
	import flash.display.MovieClip;
	import flash.events.Event;
	import flash.net.URLRequest;

	// [SWF(width="320", height="320",frameRate="24",backgroundAlpha="0")]
	public class test1 extends MovieClip {
		private var _loader:Loader;
		public function test1() {
			this._loader = new Loader()                ;
			this._loader.contentLoaderInfo.addEventListener(Event.COMPLETE,onComplete);
			this._loader.load( new URLRequest("LoopExample2.swf"));
		}

		private function onComplete(e:Event):void {
			this.addChild( e.target.content );
		}
	}
}